package vip.george.proxybeantest.service.impl;


import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;


/**
 * 没有父类的 Service
 * 另外使用了 @Async
 * 会被 CGLIB 代理
 */
@Service
public class NotParentAsyncService {


    @Async
    public void doInTransaction() {
        System.out.println("NotParentAsyncService.doInTransaction......");
    }
}
